package com.woniu.bedinfo.entity;

import java.util.ArrayList;
import java.util.List;

public class JpBedinfoExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Long offset;

    public JpBedinfoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Long offset) {
        this.offset = offset;
    }

    public Long getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andHospitalidIsNull() {
            addCriterion("hospitalID is null");
            return (Criteria) this;
        }

        public Criteria andHospitalidIsNotNull() {
            addCriterion("hospitalID is not null");
            return (Criteria) this;
        }

        public Criteria andHospitalidEqualTo(Long value) {
            addCriterion("hospitalID =", value, "hospitalid");
            return (Criteria) this;
        }

        public Criteria andHospitalidNotEqualTo(Long value) {
            addCriterion("hospitalID <>", value, "hospitalid");
            return (Criteria) this;
        }

        public Criteria andHospitalidGreaterThan(Long value) {
            addCriterion("hospitalID >", value, "hospitalid");
            return (Criteria) this;
        }

        public Criteria andHospitalidGreaterThanOrEqualTo(Long value) {
            addCriterion("hospitalID >=", value, "hospitalid");
            return (Criteria) this;
        }

        public Criteria andHospitalidLessThan(Long value) {
            addCriterion("hospitalID <", value, "hospitalid");
            return (Criteria) this;
        }

        public Criteria andHospitalidLessThanOrEqualTo(Long value) {
            addCriterion("hospitalID <=", value, "hospitalid");
            return (Criteria) this;
        }

        public Criteria andHospitalidIn(List<Long> values) {
            addCriterion("hospitalID in", values, "hospitalid");
            return (Criteria) this;
        }

        public Criteria andHospitalidNotIn(List<Long> values) {
            addCriterion("hospitalID not in", values, "hospitalid");
            return (Criteria) this;
        }

        public Criteria andHospitalidBetween(Long value1, Long value2) {
            addCriterion("hospitalID between", value1, value2, "hospitalid");
            return (Criteria) this;
        }

        public Criteria andHospitalidNotBetween(Long value1, Long value2) {
            addCriterion("hospitalID not between", value1, value2, "hospitalid");
            return (Criteria) this;
        }

        public Criteria andHospitalKeshiIsNull() {
            addCriterion("hospital_keshi is null");
            return (Criteria) this;
        }

        public Criteria andHospitalKeshiIsNotNull() {
            addCriterion("hospital_keshi is not null");
            return (Criteria) this;
        }

        public Criteria andHospitalKeshiEqualTo(Long value) {
            addCriterion("hospital_keshi =", value, "hospitalKeshi");
            return (Criteria) this;
        }

        public Criteria andHospitalKeshiNotEqualTo(Long value) {
            addCriterion("hospital_keshi <>", value, "hospitalKeshi");
            return (Criteria) this;
        }

        public Criteria andHospitalKeshiGreaterThan(Long value) {
            addCriterion("hospital_keshi >", value, "hospitalKeshi");
            return (Criteria) this;
        }

        public Criteria andHospitalKeshiGreaterThanOrEqualTo(Long value) {
            addCriterion("hospital_keshi >=", value, "hospitalKeshi");
            return (Criteria) this;
        }

        public Criteria andHospitalKeshiLessThan(Long value) {
            addCriterion("hospital_keshi <", value, "hospitalKeshi");
            return (Criteria) this;
        }

        public Criteria andHospitalKeshiLessThanOrEqualTo(Long value) {
            addCriterion("hospital_keshi <=", value, "hospitalKeshi");
            return (Criteria) this;
        }

        public Criteria andHospitalKeshiIn(List<Long> values) {
            addCriterion("hospital_keshi in", values, "hospitalKeshi");
            return (Criteria) this;
        }

        public Criteria andHospitalKeshiNotIn(List<Long> values) {
            addCriterion("hospital_keshi not in", values, "hospitalKeshi");
            return (Criteria) this;
        }

        public Criteria andHospitalKeshiBetween(Long value1, Long value2) {
            addCriterion("hospital_keshi between", value1, value2, "hospitalKeshi");
            return (Criteria) this;
        }

        public Criteria andHospitalKeshiNotBetween(Long value1, Long value2) {
            addCriterion("hospital_keshi not between", value1, value2, "hospitalKeshi");
            return (Criteria) this;
        }

        public Criteria andUnitTypeIsNull() {
            addCriterion("unit_type is null");
            return (Criteria) this;
        }

        public Criteria andUnitTypeIsNotNull() {
            addCriterion("unit_type is not null");
            return (Criteria) this;
        }

        public Criteria andUnitTypeEqualTo(String value) {
            addCriterion("unit_type =", value, "unitType");
            return (Criteria) this;
        }

        public Criteria andUnitTypeNotEqualTo(String value) {
            addCriterion("unit_type <>", value, "unitType");
            return (Criteria) this;
        }

        public Criteria andUnitTypeGreaterThan(String value) {
            addCriterion("unit_type >", value, "unitType");
            return (Criteria) this;
        }

        public Criteria andUnitTypeGreaterThanOrEqualTo(String value) {
            addCriterion("unit_type >=", value, "unitType");
            return (Criteria) this;
        }

        public Criteria andUnitTypeLessThan(String value) {
            addCriterion("unit_type <", value, "unitType");
            return (Criteria) this;
        }

        public Criteria andUnitTypeLessThanOrEqualTo(String value) {
            addCriterion("unit_type <=", value, "unitType");
            return (Criteria) this;
        }

        public Criteria andUnitTypeLike(String value) {
            addCriterion("unit_type like", value, "unitType");
            return (Criteria) this;
        }

        public Criteria andUnitTypeNotLike(String value) {
            addCriterion("unit_type not like", value, "unitType");
            return (Criteria) this;
        }

        public Criteria andUnitTypeIn(List<String> values) {
            addCriterion("unit_type in", values, "unitType");
            return (Criteria) this;
        }

        public Criteria andUnitTypeNotIn(List<String> values) {
            addCriterion("unit_type not in", values, "unitType");
            return (Criteria) this;
        }

        public Criteria andUnitTypeBetween(String value1, String value2) {
            addCriterion("unit_type between", value1, value2, "unitType");
            return (Criteria) this;
        }

        public Criteria andUnitTypeNotBetween(String value1, String value2) {
            addCriterion("unit_type not between", value1, value2, "unitType");
            return (Criteria) this;
        }

        public Criteria andManufacturerAddressIsNull() {
            addCriterion("manufacturer_address is null");
            return (Criteria) this;
        }

        public Criteria andManufacturerAddressIsNotNull() {
            addCriterion("manufacturer_address is not null");
            return (Criteria) this;
        }

        public Criteria andManufacturerAddressEqualTo(String value) {
            addCriterion("manufacturer_address =", value, "manufacturerAddress");
            return (Criteria) this;
        }

        public Criteria andManufacturerAddressNotEqualTo(String value) {
            addCriterion("manufacturer_address <>", value, "manufacturerAddress");
            return (Criteria) this;
        }

        public Criteria andManufacturerAddressGreaterThan(String value) {
            addCriterion("manufacturer_address >", value, "manufacturerAddress");
            return (Criteria) this;
        }

        public Criteria andManufacturerAddressGreaterThanOrEqualTo(String value) {
            addCriterion("manufacturer_address >=", value, "manufacturerAddress");
            return (Criteria) this;
        }

        public Criteria andManufacturerAddressLessThan(String value) {
            addCriterion("manufacturer_address <", value, "manufacturerAddress");
            return (Criteria) this;
        }

        public Criteria andManufacturerAddressLessThanOrEqualTo(String value) {
            addCriterion("manufacturer_address <=", value, "manufacturerAddress");
            return (Criteria) this;
        }

        public Criteria andManufacturerAddressLike(String value) {
            addCriterion("manufacturer_address like", value, "manufacturerAddress");
            return (Criteria) this;
        }

        public Criteria andManufacturerAddressNotLike(String value) {
            addCriterion("manufacturer_address not like", value, "manufacturerAddress");
            return (Criteria) this;
        }

        public Criteria andManufacturerAddressIn(List<String> values) {
            addCriterion("manufacturer_address in", values, "manufacturerAddress");
            return (Criteria) this;
        }

        public Criteria andManufacturerAddressNotIn(List<String> values) {
            addCriterion("manufacturer_address not in", values, "manufacturerAddress");
            return (Criteria) this;
        }

        public Criteria andManufacturerAddressBetween(String value1, String value2) {
            addCriterion("manufacturer_address between", value1, value2, "manufacturerAddress");
            return (Criteria) this;
        }

        public Criteria andManufacturerAddressNotBetween(String value1, String value2) {
            addCriterion("manufacturer_address not between", value1, value2, "manufacturerAddress");
            return (Criteria) this;
        }

        public Criteria andManufacturerPhoneIsNull() {
            addCriterion("manufacturer_phone is null");
            return (Criteria) this;
        }

        public Criteria andManufacturerPhoneIsNotNull() {
            addCriterion("manufacturer_phone is not null");
            return (Criteria) this;
        }

        public Criteria andManufacturerPhoneEqualTo(String value) {
            addCriterion("manufacturer_phone =", value, "manufacturerPhone");
            return (Criteria) this;
        }

        public Criteria andManufacturerPhoneNotEqualTo(String value) {
            addCriterion("manufacturer_phone <>", value, "manufacturerPhone");
            return (Criteria) this;
        }

        public Criteria andManufacturerPhoneGreaterThan(String value) {
            addCriterion("manufacturer_phone >", value, "manufacturerPhone");
            return (Criteria) this;
        }

        public Criteria andManufacturerPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("manufacturer_phone >=", value, "manufacturerPhone");
            return (Criteria) this;
        }

        public Criteria andManufacturerPhoneLessThan(String value) {
            addCriterion("manufacturer_phone <", value, "manufacturerPhone");
            return (Criteria) this;
        }

        public Criteria andManufacturerPhoneLessThanOrEqualTo(String value) {
            addCriterion("manufacturer_phone <=", value, "manufacturerPhone");
            return (Criteria) this;
        }

        public Criteria andManufacturerPhoneLike(String value) {
            addCriterion("manufacturer_phone like", value, "manufacturerPhone");
            return (Criteria) this;
        }

        public Criteria andManufacturerPhoneNotLike(String value) {
            addCriterion("manufacturer_phone not like", value, "manufacturerPhone");
            return (Criteria) this;
        }

        public Criteria andManufacturerPhoneIn(List<String> values) {
            addCriterion("manufacturer_phone in", values, "manufacturerPhone");
            return (Criteria) this;
        }

        public Criteria andManufacturerPhoneNotIn(List<String> values) {
            addCriterion("manufacturer_phone not in", values, "manufacturerPhone");
            return (Criteria) this;
        }

        public Criteria andManufacturerPhoneBetween(String value1, String value2) {
            addCriterion("manufacturer_phone between", value1, value2, "manufacturerPhone");
            return (Criteria) this;
        }

        public Criteria andManufacturerPhoneNotBetween(String value1, String value2) {
            addCriterion("manufacturer_phone not between", value1, value2, "manufacturerPhone");
            return (Criteria) this;
        }

        public Criteria andManufacturerLxrIsNull() {
            addCriterion("manufacturer_lxr is null");
            return (Criteria) this;
        }

        public Criteria andManufacturerLxrIsNotNull() {
            addCriterion("manufacturer_lxr is not null");
            return (Criteria) this;
        }

        public Criteria andManufacturerLxrEqualTo(String value) {
            addCriterion("manufacturer_lxr =", value, "manufacturerLxr");
            return (Criteria) this;
        }

        public Criteria andManufacturerLxrNotEqualTo(String value) {
            addCriterion("manufacturer_lxr <>", value, "manufacturerLxr");
            return (Criteria) this;
        }

        public Criteria andManufacturerLxrGreaterThan(String value) {
            addCriterion("manufacturer_lxr >", value, "manufacturerLxr");
            return (Criteria) this;
        }

        public Criteria andManufacturerLxrGreaterThanOrEqualTo(String value) {
            addCriterion("manufacturer_lxr >=", value, "manufacturerLxr");
            return (Criteria) this;
        }

        public Criteria andManufacturerLxrLessThan(String value) {
            addCriterion("manufacturer_lxr <", value, "manufacturerLxr");
            return (Criteria) this;
        }

        public Criteria andManufacturerLxrLessThanOrEqualTo(String value) {
            addCriterion("manufacturer_lxr <=", value, "manufacturerLxr");
            return (Criteria) this;
        }

        public Criteria andManufacturerLxrLike(String value) {
            addCriterion("manufacturer_lxr like", value, "manufacturerLxr");
            return (Criteria) this;
        }

        public Criteria andManufacturerLxrNotLike(String value) {
            addCriterion("manufacturer_lxr not like", value, "manufacturerLxr");
            return (Criteria) this;
        }

        public Criteria andManufacturerLxrIn(List<String> values) {
            addCriterion("manufacturer_lxr in", values, "manufacturerLxr");
            return (Criteria) this;
        }

        public Criteria andManufacturerLxrNotIn(List<String> values) {
            addCriterion("manufacturer_lxr not in", values, "manufacturerLxr");
            return (Criteria) this;
        }

        public Criteria andManufacturerLxrBetween(String value1, String value2) {
            addCriterion("manufacturer_lxr between", value1, value2, "manufacturerLxr");
            return (Criteria) this;
        }

        public Criteria andManufacturerLxrNotBetween(String value1, String value2) {
            addCriterion("manufacturer_lxr not between", value1, value2, "manufacturerLxr");
            return (Criteria) this;
        }

        public Criteria andAddTimeIsNull() {
            addCriterion("add_time is null");
            return (Criteria) this;
        }

        public Criteria andAddTimeIsNotNull() {
            addCriterion("add_time is not null");
            return (Criteria) this;
        }

        public Criteria andAddTimeEqualTo(String value) {
            addCriterion("add_time =", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotEqualTo(String value) {
            addCriterion("add_time <>", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeGreaterThan(String value) {
            addCriterion("add_time >", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeGreaterThanOrEqualTo(String value) {
            addCriterion("add_time >=", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeLessThan(String value) {
            addCriterion("add_time <", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeLessThanOrEqualTo(String value) {
            addCriterion("add_time <=", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeLike(String value) {
            addCriterion("add_time like", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotLike(String value) {
            addCriterion("add_time not like", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeIn(List<String> values) {
            addCriterion("add_time in", values, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotIn(List<String> values) {
            addCriterion("add_time not in", values, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeBetween(String value1, String value2) {
            addCriterion("add_time between", value1, value2, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotBetween(String value1, String value2) {
            addCriterion("add_time not between", value1, value2, "addTime");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("`status` is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("`status` is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("`status` =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("`status` <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("`status` >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("`status` >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("`status` <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("`status` <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("`status` in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("`status` not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("`status` between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("`status` not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andBatteryLevelIsNull() {
            addCriterion("battery_level is null");
            return (Criteria) this;
        }

        public Criteria andBatteryLevelIsNotNull() {
            addCriterion("battery_level is not null");
            return (Criteria) this;
        }

        public Criteria andBatteryLevelEqualTo(String value) {
            addCriterion("battery_level =", value, "batteryLevel");
            return (Criteria) this;
        }

        public Criteria andBatteryLevelNotEqualTo(String value) {
            addCriterion("battery_level <>", value, "batteryLevel");
            return (Criteria) this;
        }

        public Criteria andBatteryLevelGreaterThan(String value) {
            addCriterion("battery_level >", value, "batteryLevel");
            return (Criteria) this;
        }

        public Criteria andBatteryLevelGreaterThanOrEqualTo(String value) {
            addCriterion("battery_level >=", value, "batteryLevel");
            return (Criteria) this;
        }

        public Criteria andBatteryLevelLessThan(String value) {
            addCriterion("battery_level <", value, "batteryLevel");
            return (Criteria) this;
        }

        public Criteria andBatteryLevelLessThanOrEqualTo(String value) {
            addCriterion("battery_level <=", value, "batteryLevel");
            return (Criteria) this;
        }

        public Criteria andBatteryLevelLike(String value) {
            addCriterion("battery_level like", value, "batteryLevel");
            return (Criteria) this;
        }

        public Criteria andBatteryLevelNotLike(String value) {
            addCriterion("battery_level not like", value, "batteryLevel");
            return (Criteria) this;
        }

        public Criteria andBatteryLevelIn(List<String> values) {
            addCriterion("battery_level in", values, "batteryLevel");
            return (Criteria) this;
        }

        public Criteria andBatteryLevelNotIn(List<String> values) {
            addCriterion("battery_level not in", values, "batteryLevel");
            return (Criteria) this;
        }

        public Criteria andBatteryLevelBetween(String value1, String value2) {
            addCriterion("battery_level between", value1, value2, "batteryLevel");
            return (Criteria) this;
        }

        public Criteria andBatteryLevelNotBetween(String value1, String value2) {
            addCriterion("battery_level not between", value1, value2, "batteryLevel");
            return (Criteria) this;
        }

        public Criteria andBedCodeIsNull() {
            addCriterion("bed_code is null");
            return (Criteria) this;
        }

        public Criteria andBedCodeIsNotNull() {
            addCriterion("bed_code is not null");
            return (Criteria) this;
        }

        public Criteria andBedCodeEqualTo(String value) {
            addCriterion("bed_code =", value, "bedCode");
            return (Criteria) this;
        }

        public Criteria andBedCodeNotEqualTo(String value) {
            addCriterion("bed_code <>", value, "bedCode");
            return (Criteria) this;
        }

        public Criteria andBedCodeGreaterThan(String value) {
            addCriterion("bed_code >", value, "bedCode");
            return (Criteria) this;
        }

        public Criteria andBedCodeGreaterThanOrEqualTo(String value) {
            addCriterion("bed_code >=", value, "bedCode");
            return (Criteria) this;
        }

        public Criteria andBedCodeLessThan(String value) {
            addCriterion("bed_code <", value, "bedCode");
            return (Criteria) this;
        }

        public Criteria andBedCodeLessThanOrEqualTo(String value) {
            addCriterion("bed_code <=", value, "bedCode");
            return (Criteria) this;
        }

        public Criteria andBedCodeLike(String value) {
            addCriterion("bed_code like", value, "bedCode");
            return (Criteria) this;
        }

        public Criteria andBedCodeNotLike(String value) {
            addCriterion("bed_code not like", value, "bedCode");
            return (Criteria) this;
        }

        public Criteria andBedCodeIn(List<String> values) {
            addCriterion("bed_code in", values, "bedCode");
            return (Criteria) this;
        }

        public Criteria andBedCodeNotIn(List<String> values) {
            addCriterion("bed_code not in", values, "bedCode");
            return (Criteria) this;
        }

        public Criteria andBedCodeBetween(String value1, String value2) {
            addCriterion("bed_code between", value1, value2, "bedCode");
            return (Criteria) this;
        }

        public Criteria andBedCodeNotBetween(String value1, String value2) {
            addCriterion("bed_code not between", value1, value2, "bedCode");
            return (Criteria) this;
        }

        public Criteria andImmeIsNull() {
            addCriterion("imme is null");
            return (Criteria) this;
        }

        public Criteria andImmeIsNotNull() {
            addCriterion("imme is not null");
            return (Criteria) this;
        }

        public Criteria andImmeEqualTo(String value) {
            addCriterion("imme =", value, "imme");
            return (Criteria) this;
        }

        public Criteria andImmeNotEqualTo(String value) {
            addCriterion("imme <>", value, "imme");
            return (Criteria) this;
        }

        public Criteria andImmeGreaterThan(String value) {
            addCriterion("imme >", value, "imme");
            return (Criteria) this;
        }

        public Criteria andImmeGreaterThanOrEqualTo(String value) {
            addCriterion("imme >=", value, "imme");
            return (Criteria) this;
        }

        public Criteria andImmeLessThan(String value) {
            addCriterion("imme <", value, "imme");
            return (Criteria) this;
        }

        public Criteria andImmeLessThanOrEqualTo(String value) {
            addCriterion("imme <=", value, "imme");
            return (Criteria) this;
        }

        public Criteria andImmeLike(String value) {
            addCriterion("imme like", value, "imme");
            return (Criteria) this;
        }

        public Criteria andImmeNotLike(String value) {
            addCriterion("imme not like", value, "imme");
            return (Criteria) this;
        }

        public Criteria andImmeIn(List<String> values) {
            addCriterion("imme in", values, "imme");
            return (Criteria) this;
        }

        public Criteria andImmeNotIn(List<String> values) {
            addCriterion("imme not in", values, "imme");
            return (Criteria) this;
        }

        public Criteria andImmeBetween(String value1, String value2) {
            addCriterion("imme between", value1, value2, "imme");
            return (Criteria) this;
        }

        public Criteria andImmeNotBetween(String value1, String value2) {
            addCriterion("imme not between", value1, value2, "imme");
            return (Criteria) this;
        }

        public Criteria andSignalLevelIsNull() {
            addCriterion("signal_level is null");
            return (Criteria) this;
        }

        public Criteria andSignalLevelIsNotNull() {
            addCriterion("signal_level is not null");
            return (Criteria) this;
        }

        public Criteria andSignalLevelEqualTo(String value) {
            addCriterion("signal_level =", value, "signalLevel");
            return (Criteria) this;
        }

        public Criteria andSignalLevelNotEqualTo(String value) {
            addCriterion("signal_level <>", value, "signalLevel");
            return (Criteria) this;
        }

        public Criteria andSignalLevelGreaterThan(String value) {
            addCriterion("signal_level >", value, "signalLevel");
            return (Criteria) this;
        }

        public Criteria andSignalLevelGreaterThanOrEqualTo(String value) {
            addCriterion("signal_level >=", value, "signalLevel");
            return (Criteria) this;
        }

        public Criteria andSignalLevelLessThan(String value) {
            addCriterion("signal_level <", value, "signalLevel");
            return (Criteria) this;
        }

        public Criteria andSignalLevelLessThanOrEqualTo(String value) {
            addCriterion("signal_level <=", value, "signalLevel");
            return (Criteria) this;
        }

        public Criteria andSignalLevelLike(String value) {
            addCriterion("signal_level like", value, "signalLevel");
            return (Criteria) this;
        }

        public Criteria andSignalLevelNotLike(String value) {
            addCriterion("signal_level not like", value, "signalLevel");
            return (Criteria) this;
        }

        public Criteria andSignalLevelIn(List<String> values) {
            addCriterion("signal_level in", values, "signalLevel");
            return (Criteria) this;
        }

        public Criteria andSignalLevelNotIn(List<String> values) {
            addCriterion("signal_level not in", values, "signalLevel");
            return (Criteria) this;
        }

        public Criteria andSignalLevelBetween(String value1, String value2) {
            addCriterion("signal_level between", value1, value2, "signalLevel");
            return (Criteria) this;
        }

        public Criteria andSignalLevelNotBetween(String value1, String value2) {
            addCriterion("signal_level not between", value1, value2, "signalLevel");
            return (Criteria) this;
        }

        public Criteria andBaatteryLevelOpenIsNull() {
            addCriterion("baattery_level_open is null");
            return (Criteria) this;
        }

        public Criteria andBaatteryLevelOpenIsNotNull() {
            addCriterion("baattery_level_open is not null");
            return (Criteria) this;
        }

        public Criteria andBaatteryLevelOpenEqualTo(String value) {
            addCriterion("baattery_level_open =", value, "baatteryLevelOpen");
            return (Criteria) this;
        }

        public Criteria andBaatteryLevelOpenNotEqualTo(String value) {
            addCriterion("baattery_level_open <>", value, "baatteryLevelOpen");
            return (Criteria) this;
        }

        public Criteria andBaatteryLevelOpenGreaterThan(String value) {
            addCriterion("baattery_level_open >", value, "baatteryLevelOpen");
            return (Criteria) this;
        }

        public Criteria andBaatteryLevelOpenGreaterThanOrEqualTo(String value) {
            addCriterion("baattery_level_open >=", value, "baatteryLevelOpen");
            return (Criteria) this;
        }

        public Criteria andBaatteryLevelOpenLessThan(String value) {
            addCriterion("baattery_level_open <", value, "baatteryLevelOpen");
            return (Criteria) this;
        }

        public Criteria andBaatteryLevelOpenLessThanOrEqualTo(String value) {
            addCriterion("baattery_level_open <=", value, "baatteryLevelOpen");
            return (Criteria) this;
        }

        public Criteria andBaatteryLevelOpenLike(String value) {
            addCriterion("baattery_level_open like", value, "baatteryLevelOpen");
            return (Criteria) this;
        }

        public Criteria andBaatteryLevelOpenNotLike(String value) {
            addCriterion("baattery_level_open not like", value, "baatteryLevelOpen");
            return (Criteria) this;
        }

        public Criteria andBaatteryLevelOpenIn(List<String> values) {
            addCriterion("baattery_level_open in", values, "baatteryLevelOpen");
            return (Criteria) this;
        }

        public Criteria andBaatteryLevelOpenNotIn(List<String> values) {
            addCriterion("baattery_level_open not in", values, "baatteryLevelOpen");
            return (Criteria) this;
        }

        public Criteria andBaatteryLevelOpenBetween(String value1, String value2) {
            addCriterion("baattery_level_open between", value1, value2, "baatteryLevelOpen");
            return (Criteria) this;
        }

        public Criteria andBaatteryLevelOpenNotBetween(String value1, String value2) {
            addCriterion("baattery_level_open not between", value1, value2, "baatteryLevelOpen");
            return (Criteria) this;
        }

        public Criteria andDateUpdateStatusIsNull() {
            addCriterion("date_update_status is null");
            return (Criteria) this;
        }

        public Criteria andDateUpdateStatusIsNotNull() {
            addCriterion("date_update_status is not null");
            return (Criteria) this;
        }

        public Criteria andDateUpdateStatusEqualTo(String value) {
            addCriterion("date_update_status =", value, "dateUpdateStatus");
            return (Criteria) this;
        }

        public Criteria andDateUpdateStatusNotEqualTo(String value) {
            addCriterion("date_update_status <>", value, "dateUpdateStatus");
            return (Criteria) this;
        }

        public Criteria andDateUpdateStatusGreaterThan(String value) {
            addCriterion("date_update_status >", value, "dateUpdateStatus");
            return (Criteria) this;
        }

        public Criteria andDateUpdateStatusGreaterThanOrEqualTo(String value) {
            addCriterion("date_update_status >=", value, "dateUpdateStatus");
            return (Criteria) this;
        }

        public Criteria andDateUpdateStatusLessThan(String value) {
            addCriterion("date_update_status <", value, "dateUpdateStatus");
            return (Criteria) this;
        }

        public Criteria andDateUpdateStatusLessThanOrEqualTo(String value) {
            addCriterion("date_update_status <=", value, "dateUpdateStatus");
            return (Criteria) this;
        }

        public Criteria andDateUpdateStatusLike(String value) {
            addCriterion("date_update_status like", value, "dateUpdateStatus");
            return (Criteria) this;
        }

        public Criteria andDateUpdateStatusNotLike(String value) {
            addCriterion("date_update_status not like", value, "dateUpdateStatus");
            return (Criteria) this;
        }

        public Criteria andDateUpdateStatusIn(List<String> values) {
            addCriterion("date_update_status in", values, "dateUpdateStatus");
            return (Criteria) this;
        }

        public Criteria andDateUpdateStatusNotIn(List<String> values) {
            addCriterion("date_update_status not in", values, "dateUpdateStatus");
            return (Criteria) this;
        }

        public Criteria andDateUpdateStatusBetween(String value1, String value2) {
            addCriterion("date_update_status between", value1, value2, "dateUpdateStatus");
            return (Criteria) this;
        }

        public Criteria andDateUpdateStatusNotBetween(String value1, String value2) {
            addCriterion("date_update_status not between", value1, value2, "dateUpdateStatus");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(Integer value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(Integer value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(Integer value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(Integer value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Integer value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<Integer> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<Integer> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(Integer value1, Integer value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}